<template>
  <a-layout id="components-layout-demo-fixed">
    <a-layout-header :style="{ position: 'fixed', zIndex: 1, width: '100%' }">
      <div class="logo"><img src="../assets/logo.png" ></div>

      <a-menu
        theme="dark"
        mode="horizontal"
        :default-selected-keys="['2']"
        :style="{ lineHeight: '64px' }"
      >
        <a-menu-item key="1">
          颂事迹
        </a-menu-item>
     
      </a-menu>

    </a-layout-header>

  
    <a-layout-content :style="{ padding: '0 50px', marginTop: '64px' }">
      <a-breadcrumb :style="{ margin: '16px 0' }">
      <a-breadcrumb-item href="">
      <a-icon type="home" />
    </a-breadcrumb-item>
    <a-breadcrumb-item href="">
      <a-icon type="user" />
      <span>Praising Deeds</span>
    </a-breadcrumb-item>
      </a-breadcrumb>
      <div :style="{ background: '#fff', padding: '24px', minHeight: '380px' }">
        <ListFile></ListFile>
      </div>
    </a-layout-content>


    <a-layout-footer :style="{ textAlign: 'center' }">
     虽然生命终会有终点，却从不后悔选择了明天。
    </a-layout-footer>
  </a-layout>
</template>

<script>
import ListFile from "./ListFile";
export default {
  name: "Layout",
  components: {
    ListFile
  }
};
</script>

<style>
#components-layout-demo-fixed .logo {
  width: 120px;
  height: 31px;
  margin: 0 24px 0 0;
  float: left;
}
#components-layout-demo-fixed .logo img {
  height: 31px;
}
</style>